from _decimal import Decimal

from src.core.backtest.context import Context
from src.core.domain.balance import Balance
from src.core.domain.currency import Currency
from src.core.strategy.sizer.sizer import Sizer


class AllInSizer(Sizer):

    def calculate_size(self, balance: Balance, context: Context, entry_price: Decimal, currency: Currency):
        balance.available_margin
        pass
